package com.hds.test.TemplatePattern;

public class Coffee extends RefreshBeverage {

    // 泡制饮料
    @Override
    protected void brew() {
        System.out.println("用沸水冲泡咖啡");
    }

    // 加入调味剂
    @Override
    protected void addCondiments() {
        System.out.println("加入糖喝牛奶");
    }

    @Override
    protected boolean custom(){
        return false;
    }
}
